package com.servlets;

import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;

public class HelloServlet extends HttpServlet{

	public void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException,java.io.IOException{
		PrintWriter out = resp.getWriter();
		out.print("<h1>Test </h1>");
		
	}
	public void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException,java.io.IOException{
	 	doPost(req, resp);
	}


}
